package com.bigdata.movieticketapi.vo.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class PageUniAppUserRespVO {
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty("openid")
    private String openid;

    @ApiModelProperty("session_key")
    private String sessionKey;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("手机号")
    private String phoneNumber;

    @ApiModelProperty("头像")
    private String avatar;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("上映时间")
    private LocalDateTime createTime;

    @ApiModelProperty("账号状态")
    private Integer status;

    @ApiModelProperty("钱包")
    private BigDecimal wallet;

}
